<?php

/**
 * actionVerifier actions.
 *
 * @package    erp-crm
 * @subpackage actionVerifier
 * @author     Milwell H. Sia
 * @version    SVN: $Id: actions.class.php 12479 2008-10-31 10:54:40Z fabien $
 */
class actionVerifierActions extends sfActions
{
 /**
  * Executes index action
  *
  * @param sfRequest $request A request object
  */
  public function executeVerify(sfWebRequest $request)
  {
    $task = $request->getParameter('task');
    $this->url = sfConfig::get('mod_actionverifier_'.$task.'_url');
    $parameters = sfConfig::get('mod_actionverifier_'.$task.'_parameters');
    $this->parameters = array();
    foreach($parameters as $parameter)
      $this->parameters[$parameter]=$request->getParameter($parameter);
    $this->cancel_callback = $request->getParameter('cancel_callback');
    $this->callback = $request->getParameter('callback');
    $this->prompt = $request->getParameter('prompt');
  }
}
